<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>桌面时钟</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <!-- 顶部拖拽区域 -->
    <div class="drag-area"></div>
    
    <!-- 窗口控制按钮 -->
    <div class="window-controls">
        <button class="close-btn" id="closeBtn">×</button>
    </div>

    <div class="container">
        <!-- 日期信息 -->
        <div class="date-info">
            <div class="date" id="date"></div>
            <div class="week-info">
                <span class="weekday" id="weekday"></span>
                <span class="week-number" id="weekNumber"></span>
            </div>
        </div>

        <!-- 主时钟 -->
        <div class="clock-container">
            <div class="time-group">
                <div class="digit-container">
                    <div class="digit-flip" id="hour1">
                        <div class="digit-top"></div>
                        <div class="digit-bottom"></div>
                    </div>
                </div>
                <div class="digit-container">
                    <div class="digit-flip" id="hour2">
                        <div class="digit-top"></div>
                        <div class="digit-bottom"></div>
                    </div>
                </div>
            </div>
            
            <div class="separator">:</div>
            
            <div class="time-group">
                <div class="digit-container">
                    <div class="digit-flip" id="minute1">
                        <div class="digit-top"></div>
                        <div class="digit-bottom"></div>
                    </div>
                </div>
                <div class="digit-container">
                    <div class="digit-flip" id="minute2">
                        <div class="digit-top"></div>
                        <div class="digit-bottom"></div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 控制按钮 -->
        <div class="controls">
            <button id="toggleTop" class="control-btn">置顶显示</button>
        </div>
    </div>

    <script src="renderer.js"></script>
</body>
</html> 